package com.bussiness.domain;

import java.util.Map;

public class PoiTemplate {
	public static enum Type {Text, Date, Number, Boolean, Float, Location, Money,Name}
	
	private String name;
	private Long id;
	private Map <String, Type > props;
	
	public PoiTemplate(Map <String, Type > props, String name) {
		super();
		this.name = name;
		this.props = props;
	}
	
	public PoiTemplate() {
		super();
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}

	public Map <String, Type > getProps() {
		return props;
	}

	public void setProps(Map <String, Type > props) {
		this.props = props;
	}
	
	@Override
	public String toString(){
		return 	"Name: " + name + " id: " + id + " Props: "+ props;
	}
}


